<div class="view-header">
    <div class="search-shop">
        <i class="fa fa-home"></i>
        <shop-picker shop="shop"></shop-picker>
    </div>
    <div class="search-date">
        <i class="fa fa-calendar search-date-i"></i>
        <datetimepicker class="search-date-start"
                                min-view="3"
                                start-view="3"
                                format="yyyy-mm"
                                end-date="_today"
                                today-btn="true"
                                ng-model="date"></datetimepicker>
    </div>
    <div class="view-header-left">
        <!-- 查询 搜索 -->
        <div class="view-header-item no-widen" ng-click="refresh()" title="查询">
            <i class="fa fa-search"></i>
        </div>
    </div>
</div>

<!-- 明细表-->
<div class="view-content reception-content view-middle" ng-show="ach_table.active == 1">
    明细表
    <!-- <div ag-grid="sales_vol_grid" class="ag-fresh ag-custom-center"
         style="height:100%"></div> -->
</div>
<!-- 报表-->
<div class="view-content reception-content view-middle" ng-show="ach_table.active == 2">
    报表
    <!-- <div ag-grid="sales_vol_grid" class="ag-fresh ag-custom-center"
         style="height:100%"></div> -->
</div>


<div class="view-footer" ng-init="ach_table.active = 1">
    <li ng-click="ach_table.active = 1;"
        ng-class="{true:'bg-004881', false:''}[ach_table.active == 1]">明细表
    </li>
    <li ng-click="ach_table.active = 2"
        ng-class="{true:'bg-004881', false:''}[ach_table.active == 2]">报表
    </li>

</div>